package com.dhcc.bpm.modules.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dhcc.bpm.modules.system.entity.ExpSeq;
import com.dhcc.bpm.modules.system.entity.ExpSeqEntity;
import org.apache.poi.ss.formula.functions.T;
import org.springblade.core.tool.api.R;

import java.util.List;

/**
 * @version V1.0
 * @ClassName ExpSeqService
 * @Description TODO
 * @Author xiafayu
 * @Date 2020/12/29 9:43
 * @Copyright: 2020 东华软件 .. All rights reserved.
 */
public interface IExpSeqService extends IService<ExpSeq> {
    IPage<ExpSeqEntity> getTableName(IPage<ExpSeqEntity> page);

    IPage<ExpSeq> queryExpSeq(IPage<ExpSeq> page, String expSeq);

    Integer batchInsert(List<String> sql);

    IPage<T> queryListByTableName(IPage<T> page, String tableName, String expSeq);

    R createTableInsertBySysIds(String sysIds, String searchValue, String downloadNumType, String exportFile);

    R createTableInsertByProductIds(String productIds, String searchValue, String downloadNumType, String exportFile);

    R createTableInsertByApiIds(String apiIds, String searchValue, String downloadNumType, String exportFile);
}
